package cn.summit.entity;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import cn.summit.common.Constants;
import lombok.Data;
import lombok.EqualsAndHashCode;

import static javax.persistence.CascadeType.ALL;


/**
 * @author summit
 * @since 2021/11/26 16:38
 */
@EqualsAndHashCode(callSuper = true)
@Entity
@Table(schema = Constants.schema)
@Data
public class Product extends BaseEntity {

	private String productId;

//	@ManyToOne(cascade = ALL)
//	private Trade trade;
}
